import { defineStore } from 'pinia'
// import { DemoService } from '../services';

export const userStore = defineStore('userStore', {
    state: () => ({
        data: "data"
    }),
    actions: {
        setData(data: any) {
            this.data = data
        },
        // async getData(loginForm: any) {
        //     const res: any = await DemoService.getList();
        //     this.setData(res.accessToken)
        // }
    }
})
